#ifndef __LS_WIFI_STA_H__
#define __LS_WIFI_STA_H__

#define LS_WIFI_CONNECT_CMD "wifi_sta_connect"


typedef enum lsWIFI_STATUS{
    WIFI_INIT_DONE,
    WIFI_CONENCT_OK,
    WIFI_CONENCT_DISCONENCT,
    WIFI_CONENCT_ERROR,
}WIFI_STATUS;


typedef void(*wifi_connect_cb)(WIFI_STATUS s);
/// @brief 初始化wifi
/// @return 
int ls_wifi_sta_init(wifi_connect_cb l);



/// @brief 
/// @param ssid 
/// @param password 
void ls_wifi_sta_connect(char *ssid, char *password);


#endif